package com.xht.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xht.domain.ResponseResult;
import com.xht.domain.dto.CategoryChangeStatusDto;
import com.xht.domain.dto.CategoryDto;
import com.xht.domain.entity.Category;


/**
 * 分类表(Category)表服务接口
 *
 * @author makejava
 * @since 2025-02-21 11:35:14
 */
public interface CategoryService extends IService<Category> {

    ResponseResult getCategoryList();

    ResponseResult listAllCategory();

    ResponseResult categoryList(Integer pageNum, Integer pageSize, String name, String status);

    ResponseResult addCategory(CategoryDto categoryDto);

    ResponseResult getCategoryById(Integer id);

    ResponseResult updateCategory(Category category);

    ResponseResult deleteCategory(Integer id);

    ResponseResult changeStatus(CategoryChangeStatusDto categoryChangeStatusDto);
}

